package com.kong.service;

import com.kong.entity.dto.QueryAttendanceRecordsDto;
import com.kong.entity.pojo.AttendanceRecords;
import com.kong.entity.vo.AitVo;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 加油
 *
 * @author konglingfeng
 * @date 2025/11/1
 * @desc
 */
@Service
public interface IAitService {
    List<AitVo> selectAttendanceRecordsList(QueryAttendanceRecordsDto queryAttendanceRecordsDto);

    boolean checkAttendanceRecordsExist(Long userId, Date date);

    void insertAttendanceRecords();

    void insertAttendanceAfternoonPunch(Long userId, Date date);

    boolean isLate(Date date);

    void updateAttendanceRecordsStatus(Long userId, Date date, int i);

    boolean isLeaveEarly(Date date);

    Map<String, Object> getCurrentMonthAttendanceStatistics();
}
